import com.sun.org.apache.xpath.internal.objects.XString;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86155
 * date: 2024-01-19
 * Time: 9:10
 *
 * @author 240119
 */

public class test {
    public static void main(String[] args) {
        //整形转字符串
        int a = 1;
        String b = a+"";
        System.out.println(b);
        String c = String.valueOf(a);
        System.out.println(c);
    }
    public static void main7(String[] args) {
        String a = "abcd";
        String b = "杨晨光";
        System.out.println(a);
        System.out.println(b);
        System.out.println(a+b);
    }
    public static void main6(String[] args) {
        int a = 10;
        long b = 10L;
        a = (int)b;
        b = a;
        System.out.println(a);
        System.out.println(b);
    }
    public static void main5(String[] args) {
        char a1='A';
        char a2='1';
        char a3 = '杨';
        System.out.println(a1);
        System.out.println(a2);
        System.out.println(a3);
        boolean b = true;
        boolean b1 = false;
        System.out.println(b);
        System.out.println(b1);
    }
    public static void main4(String[] args) {
        double a = 3.14;
        System.out.println(a);
        double b = 1;
        double c = 2;
        int e = (int)(b/c);
        System.out.println(e);
        double k = 1.1;
        System.out.println(k*k);

    }
    public static void main3(String[] args) {
        int a = 10;
        System.out.println(a);
        System.out.println(Integer.MIN_VALUE);
        System.out.println(Integer.MAX_VALUE);
        int c= 10;
        long d = 10L;
        System.out.println(c);
        System.out.println(d);
        System.out.println(Long.MIN_VALUE);
        System.out.println(Long.MAX_VALUE);
        short e=10;
        System.out.println(e);
        System.out.println(Short.MIN_VALUE);
        System.out.println(Short.MAX_VALUE);
        byte b = 10;
        System.out.println(b);
        System.out.println(Byte.MIN_VALUE);
        System.out.println(Byte.MAX_VALUE);
    }
    public static void main2(String[] args) {
        int a1=10,a2=20,a3=30;
        System.out.println(a1);
        System.out.println(a2);
        System.out.println(a3);
    }
    public static void fa(String[] args) {
        int a = 10;
        double b= 3.14;
        char c = 'a';
        boolean d = false;
        float e = 1.0f;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);

    }
    public static void main1(String[] args) {
        System.out.println("hello world");
        System.out.println(100);
        System.out.println(3.14);
        System.out.println('A');
        System.out.println(true);
        System.out.println(false);
    }
}
